<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>proxy</title>
</head>
<body>

    <input id="ipt" type="text" placeholder="试一试双向绑定">
    <p id="text"></p>
    
    <script>
        
        {   
            /* let ipt = document.getElementById('ipt');
            let text = document.getElementById('text');

            let proxy = new Proxy(ipt,{
                get (target,key) {
                    return target[key]
                },
                set (target,key,value) {
                    
                }
            });
 */

        }
    
    </script>
</body>
</html>